package com.hksj.slm.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;


import java.io.Serializable;
import java.util.Date;

@Data
public class LinkLightingDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("路径")
    private Long id;

    @ApiModelProperty("设备模型id")
    @NotEmpty(message = "设备模型id不能为空")
    private String deviceModelId;

    @ApiModelProperty("设备id")
    @NotEmpty(message = "设备id不能为空")
    private String deviceId;

    @ApiModelProperty("属性类型(temperature、humidity等)")
    @NotEmpty(message = "属性类型不能为空")
    private String property;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
